<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:a4j="http://richfaces.org/a4j"
	template="/layout/template.xhtml">

	<ui:define name="pageLayout">
		<h:outputText value="#{messages['playlists.edit.title']}" />
		<a4j:form>
		<table width="100%">
			<tr>
				<td>
					<h:outputText value="#{messages['playlists.edit.name']}" />
					<h:inputText value="#{editplaylist.name}" />
				</td>
				<td rowspan="2">
					<h:outputText value="#{messages['playlists.edit.description']}" />
					<h:inputTextarea value="#{editplaylist.description}" />
				</td>
				<td rowspan="2">
					<h:outputText value="#{messages['playlists.edit.sort']}" />
					<h:selectOneMenu value="#{editplaylist.sort}" disabled="true">
					</h:selectOneMenu>
				</td>
			</tr>
			<tr>
				<td>
					<h:selectBooleanCheckbox value="#{editplaylist.publicPlayList}" label="#{messages['playlists.edit.public']}" />
					<a4j:commandButton value="#{messages['playlists.edit.allows']}" disabled="true"></a4j:commandButton>
				</td>
			</tr>
			<tr>
				<td colspan="3">
					table
				</td>
			</tr>
			<tr>
				<td>
					<a4j:commandButton value="#{messages['playlists.edit.delete']}" disabled="true"></a4j:commandButton>
				</td>
				<td align="right">
					<a4j:commandButton value="#{messages['playlists.edit.editList']}" action="#{editplaylist.editContent()}"></a4j:commandButton>
				</td>
				<td>
					<a4j:commandButton value="#{messages['playlists.edit.save']}" action="#{editplaylist.save()}"></a4j:commandButton>
					<a4j:commandButton value="#{messages['playlists.edit.cancel']}" action="#{editplaylist.cancel()}"></a4j:commandButton>
				</td>
			</tr>
		</table>
		</a4j:form>
	</ui:define>

</ui:composition>